

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>ToolBox extension - Boost.GIL  documentation</title>
    <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
    <link rel="stylesheet" href="_static/style.css" type="text/css" />
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
          URL_ROOT:    './',
          VERSION:     '',
          COLLAPSE_MODINDEX: false,
          FILE_SUFFIX: '.html'
      };
    </script>
    <script type="text/javascript" src="_static/jquery.js"></script>
    <script type="text/javascript" src="_static/underscore.js"></script>
    <script type="text/javascript" src="_static/doctools.js"></script>
    <link rel="index" title="Index" href="genindex.html" />
    <link rel="search" title="Search" href="search.html" />
    <link rel="top" title="Boost.GIL  documentation" href="index.html" />
    <link rel="next" title="Numeric extension" href="numeric.html" />
    <link rel="prev" title="IO extensions" href="io.html" /> 
  </head>
  <body>
    <div class="header">
    <table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
    "header">
      <tr>
        <td valign="top" width="300">
          <h3><a href="index.html"><img
          alt="C++ Boost" src="_static/gil.png" border="0"></a></h3>
        </td>

        <td >
          <h1 align="center"><a href="index.html"></a></h1>
        </td>
	<td>
      <div id="searchbox" style="display: none">
        <form class="search" action="search.html" method="get">
          <input type="text" name="q" size="18" />
          <input type="submit" value="Search" />
          <input type="hidden" name="check_keywords" value="yes" />
          <input type="hidden" name="area" value="default" />
        </form>
      </div>
      <script type="text/javascript">$('#searchbox').show(0);</script>
	</td>
      </tr>
    </table>
    </div>
    <hr/>
    <div class="content">
    <div class="navbar" style="text-align:right;">
      
      
      <a class="prev" title="IO extensions" href="io.html"><img src="_static/prev.png" alt="prev"/></a>
      <a class="next" title="Numeric extension" href="numeric.html"><img src="_static/next.png" alt="next"/></a>
      
    </div>
      
  <div class="section" id="toolbox-extension">
<h1>ToolBox extension</h1>
<div class="section" id="overview">
<h2>Overview</h2>
<p>ToolBox provides collection of Boost.GIL extensions which are too
small to be maintained as standalone extensions.</p>
<p>Content:</p>
<ul class="simple">
<li>Color converters: Gray to  RGBA</li>
<li>Color spaces: CMYKA, Gray with Alpha, HSL, HSV, Lab, XYZ</li>
<li>Metafunctions:<ul>
<li><code class="docutils literal"><span class="pre">channel_type</span></code></li>
<li><code class="docutils literal"><span class="pre">channel_type_to_index</span></code></li>
<li><code class="docutils literal"><span class="pre">get_num_bits</span></code></li>
<li><code class="docutils literal"><span class="pre">get_pixel_type</span></code></li>
<li><code class="docutils literal"><span class="pre">is_bit_aligned</span></code></li>
<li><code class="docutils literal"><span class="pre">is_homogeneous</span></code></li>
<li><code class="docutils literal"><span class="pre">is_similar</span></code></li>
<li><code class="docutils literal"><span class="pre">pixel_bit_size</span></code></li>
</ul>
</li>
<li>Image types:<ul>
<li><code class="docutils literal"><span class="pre">indexed_image</span></code></li>
</ul>
</li>
</ul>
<p>This extension will hopefully be added on by the community.</p>
<p>Since the extension is header-only, user just needs to include
its main header <code class="docutils literal"><span class="pre">#include</span> <span class="pre">&lt;boost/gil/extension/toolbox.hpp&gt;</span></code>.</p>
<p>All definitions of the toolbox belong to the <code class="docutils literal"><span class="pre">boost::gil</span></code> namespace.</p>
</div>
<div class="section" id="folder-structure">
<h2>Folder Structure</h2>
<p>The toolbox structured in the following sub-directories:</p>
<ul class="simple">
<li>color_converters</li>
<li>color_spaces</li>
<li>metafunctions</li>
<li>image_types</li>
</ul>
</div>
<div class="section" id="acknowledgements">
<h2>Acknowledgements</h2>
<p>Thanks to all the people who have reviewed this library and
made suggestions for improvements.</p>
</div>
<div class="section" id="id1">
<h2>Reference</h2>
<p>The <a class="reference external" href="reference.html">Reference</a> section.</p>
</div>
</div>


    <div class="navbar" style="text-align:right;">
      
      
      <a class="prev" title="IO extensions" href="io.html"><img src="_static/prev.png" alt="prev"/></a>
      <a class="next" title="Numeric extension" href="numeric.html"><img src="_static/next.png" alt="next"/></a>
      
    </div>
    </div>
    <div class="footer" role="contentinfo">
      Last updated on 2022-04-06 21:04:50.
      Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.5.6.
    </div>
  </body>
</html>